#pragma once
#ifndef __CAUDIOMANAGER_H__
#define __CAUDIOMANAGER_H__

#include "CAudio.h"

class CAudioManager
{
private:
	CSound *m_Background;
	CSound *m_BonusRise;
	CSound *m_BrickBreaked;
	CSound *m_Bump;
	CSound *m_Coin;
	CSound *m_Death;
	CSound *m_FireBall;
	CSound *m_GameOver;
	CSound *m_Jump;
	CSound *m_Kick;
	CSound *m_Life;
	CSound *m_Mip;
	CSound *m_PipeWarp;
	CSound *m_PowerUp;
	CSound *m_StartGame;
	CSound *m_WinStage;
	bool m_isSoundEffectOn;
	static CAudioManager *m_CAudioManager;	

public:
	CAudioManager();
	~CAudioManager();
	static CAudioManager* getInstance();
	int Init(HWND);
	void loadSound();
	void playSound(int ID_Music);
	void loopSound();
	void pauseSound();
	void stopSound();
	void destroy();
};

#endif
